<template>
  <div class="layout">
    <NuxtLayout name="header" />
    <div class="container">
      <NuxtLayout name="silder" />

      <NuxtLayout name="main">
        <slot />
      </NuxtLayout>
    </div>
    <NuxtLayout name="footer" />
  </div>
</template>

<style lang="scss" scoped>
.layout {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
</style>
